package com.ruoyi.employee.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.dto.TbEmployeeDto;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.pojo.TbEmployee;

/**
* @author c'c'l
* @description 针对表【tb_employee(员工信息表)】的数据库操作Service
* @createDate 2024-08-29 10:02:09
*/
public interface TbEmployeeService extends IService<TbEmployee> {

    IPage<TbEmployeeDto> pageEmployee(Page<TbEmployeeDto> page, TbEmployeeDto tbEmployeeDto);

    void addEmployee(TbEmployeeDto tbEmployeeDto);

    Integer blockupEmployee(TbEmployeeDto tbEmployeeDto);

    TbEmployeeDto getEmployeeById(Long id);

    void updateEmployee(TbEmployeeDto tbEmployeeDto);

    Integer deletedEmployeeAndOther(Long employeeId);

}
